package knowlodges.JUCkuang.ThreadLocal.ThreadLocalApplication;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 *Related Url:https://mp.weixin.qq.com/s/UNKVgvlWb3RRCHFEZlGO5w
 * */

public class NoThreadlocalTest {
    public static void main(String[] args) {
        ExecutorService executorService = Executors.newFixedThreadPool(10);

        for (int i = 0; i < 10; i++) {
            executorService.execute(()->{
                System.out.println(DateUtil.parse("2022-07-24 16:34:30"));
            });
        }
        executorService.shutdown();
    }
}
